import React from "react";
import { Button } from "antd";
import { ReloadOutlined } from "@ant-design/icons";
import "./Header.sass";

export default function Header(props) {
  const { secondTitle } = props;
  return (
    <div className="titleStyle">
      <span>{secondTitle}</span>
      <Button icon={<ReloadOutlined />}>刷新</Button>
    </div>
  );
}
